package com.yjt.sousou.create.entity;


import com.yjt.sousou.base.BaseEntity;

import java.util.List;

/**
 * 作者：83734
 * 时间：2018/12/2
 * 描述：部门
 */
public class Department extends BaseEntity {
    /**
     * number : 6
     * state : Success
     * returncode : 0
     * sql : SELECT id,bumen FROM bumen  where 1
     * data : [{"id":"1","bumen":"工程部"},{"id":"6","bumen":"人事部"},{"id":"7","bumen":"财务部"},{"id":"8","bumen":"安保部"},{"id":"9","bumen":"餐饮部"},{"id":"10","bumen":"客房部"}]
     */
    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * bumen : 工程部
         */

        private String id;
        private String bumen;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getBumen() {
            return bumen;
        }

        public void setBumen(String bumen) {
            this.bumen = bumen;
        }
    }
}
